<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			#a{
				background-color: #F08080;
				width: 360px;
				height: 360px;
				display: flex;
				flex-direction: row;
				/* justify-content: space-around; */
				flex-wrap: wrap;
				/* margin: auto; */
				align-items: center;
			}
			#a div{
				height: 100px;
				width: 100px;
				/* flex: 1; */
			}
			#a div:nth-child(1){
				background-color: #7FFFD4;
			}
			#a div:nth-child(2){
				background-color: #8A2BE2;
			}
			#a div:nth-child(3){
				background-color: #FFFF00;
			}
			#a div:nth-child(4){
				background-color: #7777D4;
			}
		</style>
	</head>
	<body>
		<div id="a">
			<div>1</div>
			<div>2</div>
			<div>3</div>
			<div>4</div>
		</div>
	</body>
</html>
